package com.foreknow.hospital.service;

import com.foreknow.hospital.po.Hospital;

import java.sql.SQLException;
import java.util.List;

public interface HospitalService {
    /**
     * 根据医院状态查询医院列表
     * @param hospital
     * @return
     * @throws SQLException
     */
    public List<Hospital> listHospital(Hospital hospital);

    /**
     * 根据医院编号查询医院信息
     * @param hospital
     * @return
     */
    public Hospital getHospitalById(Hospital hospital);
}
